package com.jrx.anytxn.param.service.system;

import com.jrx.anytxn.common.exception.TxnBizException;

import java.util.Date;

public interface IBtBatchStatusService {

    /**
     * 通过job名称 业务日期 租户编号查询
     * @param jobName
     * @param businessDate
     * @param tenantId
     * @throws TxnBizException
     **/
    int countByJobNameAndBusiDateAndTenantId(String jobName, Date businessDate, String tenantId);

    int countByJobNameAndBusiDateAndStatus(String jobName, Date businessDate, String tenantId,String batchStatus);

}
